package com.company.cloud.oss.constant;

import com.company.cloud.common.constant.ReturnCodeEnum;

/**
 * Basic错误码[Oss][1061-1090]
 */
public enum OssErrorEnum implements ReturnCodeEnum {

	OssCloud_Not("1061","OSS服务不存在"),
	Oss_Upload_File_Error("1062","上传文件到OSS失败"),
	OSS_ImgInfo_Error("1063","OSS获取图片信息错误"),
	OSS_Sign_Error("1064","OSS生成签名错误"),

	;
	private String code;
	private String msg;
	OssErrorEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	@Override
	public String getCode() {
		return code;
	}
	@Override
	public String getMsg() {
		return msg;
	}
}